import { createRouter, createWebHistory, RouteRecordRaw } from "vue-router";
 
// 路由类型:RouteRecordRaw
const routes: Array<RouteRecordRaw> = [
  {
    path: "/",
    name: "Home",
    component: () => import('/src/components/Apps/Simulation/Home.vue'),
  },
  {
    path: "/OptionBox",
    name: "OptionBox",
    component: () => import('/src/components/Apps/Simulation/OptionBox.vue'),
  },
  {
    path: "/FaultPage",
    name: "FaultPage",
    component: () => import('/src/components/Apps/Simulation/FaultPage.vue'),
  },
  {
    path: "/ParticularsPage",
    name: "ParticularsPage",
    component: () => import('/src/components/Apps/Simulation/ParticularsPage.vue'),
  },
];
 
const router = createRouter({
  // 路由模式
  history: createWebHistory(),
  routes,
});
 
export default router;